import { http } from "@/utils/http";
import { ListResult} from "./models";

interface SmsSendCodeType {
  status: boolean
}
export const sendCode = (data: object) => {
  return http.request<ListResult<SmsSendCodeType>>("post", '/api/open/contact/sms/sendCode',{
    data
  });
}